<toaster-container></toaster-container>
<h3>Upload Universes</h3>
<hr>
<input #selectedFile type="file" ng2FileSelect [uploader]="fileUploader"/>

<div class="row mt-2">
    <button *ngIf="canUpload" class="btn btn-primary-dark" (click)="upload()">Upload selected file for import</button>
</div>

<span *ngIf="processing == false" class="row mt-2">There is no universe upload scheduled for processing.</span>
<span *ngIf="processing == true" class="row mt-2">There is currently a universes upload scheduled for processing.</span>

<br>
<h4>Last processing:</h4>
<div class="row" *ngFor="let log of errorLogs">
    <b>Worksheet:</b> {{log.worksheet}} - <b>Row:</b> {{log.rowNumber}} - <b>Message:</b> {{log.errorMessage}}
</div>
    
